import request from '@/utils/request'
export const login = ({ username, password }) => {
  return request({
    method: 'post',
    url: '/adminLogin',
    data: {
      username,
      password
    }
  })
}
// 获取所有管理员信息
export const getAdmin = () => {
  return request({
    method: 'GET',
    url: ''
  })
}
